package com.example.csetpp.service;


import com.example.csetpp.pojo.dto.PageUserDTO;
import com.example.csetpp.pojo.dto.file.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileService {
    String postAvatar(MultipartFile image, String userId) throws Exception;

    String deleteFile(String url, String fileName) throws Exception;

    Object stockPredict(StockDTO stockDTO);

    Object electricityPredict(StaticPredictDTO staticPredictDTO);

    Object staticWeatherPredict(StaticPredictDTO staticPredictDTO,Integer type);

    Object submitWeatherPredict(MultipartFile file, String userId,Integer time_step) throws IOException;



    Object getFileRecord(PageUserDTO pageUserDTO);


    Object deleteUserFile(String id) throws Exception;

    Object UserPredictionSearch(UserPredictionSearchDTO userPredictionSearchDTO);

    Object getModulePrediction(ModulePredictionDTO modulePredictionDTO);


    void predictByDate(ModulePredictionDTO modulePredictionDTO);

    void deletePredictionByKey(KeyDTO keyDTO);


}
